package com.lin.cloud.disk.manage;

import com.lin.cloud.disk.entity.request.CreateAliPayRequest;

import java.util.Map;

public interface IAlipayManageService {
    /**
     *  支付宝电脑网页支付
     */
    String page(CreateAliPayRequest request);

    /**
     *  支付宝手机网页支付
     */
    String wap(CreateAliPayRequest request);

    /**
     * 支付宝退款
     */
    String refund(String outTradeNo, String refundAmount);

    /**
     * app支付
     */
    String app(String subject, String total);

    String getTrade(String outTradeNo);

    String downloadBill(String billType, String billDate);

    /**
     * 支付沙箱回调
     * @param params
     */
    void payNotice(Map<String, String> params);
}
